//
//  MBHomeViewController.swift
//  MicroBlog
//
//  Created by ChenJunWen on 2017/11/28.
//  Copyright © 2017年 CJW. All rights reserved.
//

import UIKit

class MBHomeViewController: MBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
    
    }
    
    @objc func showFriends() -> () {
        let vc = MBTestViewController()
        navigationController?.pushViewController(vc, animated: true)
    }

}

extension MBHomeViewController {
    override func setupUI() {
        super.setupUI()
        
        customNavItem.leftBarButtonItem = UIBarButtonItem(title: "好友", fontsize: 16, target: self, action: #selector(showFriends), isBack: false)
    }
}
